<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@page import="com.vince.model.*" %>
    <%@taglib prefix='c' uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>分页</title>
<style type="text/css">
 .one li{
  display:inline-block;
  right:20px;
 }
</style>
</head>
<body>
<table border="1">
<tr>
  <td>用户id</td>
  <td>用户名</td>
  <td>级别</td>
  <td>修改用户</td>
  <td>删除用户</td>
 </tr>

<c:forEach var="list" items="${datalist}">
  <tr>
    <td>${list.userid}</td>
    <td>${list.username }</td>
    <td>${list.usertype }</td>
    <td><a href="#">修改用户</a></td>
    <td><a href="#">删除用户</a></td>
  </tr>
</c:forEach>
</table>
<div class="one">
 <ul>
  <li><a href="<%=request.getContextPath()%>/page?curpage=">首页</a></li>
  <li><a href="">上一页</a></li>
  <li><a href="#">下一页</a></li>
  <li><a href="#">尾页</a></li>
 </ul>
</div>

</body>
</html>




</html>